让我们设置游戏!我们将在控制台下方创建一个边界,让我们可以判断球何时接触挡板。

  • 中选择背景。
  • 点击 并拖出 Disable Floor
  • 点击 并拖出 Rectangle。将名称更改为 bot_boundary
  • 将 y 坐标更改为 -250。将宽度设置为 500,高度设置为 5

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)